package com.jdk.study.d2jvm.chapter05;

/**
 * @description:
 * @author: JackLi
 * @date: 2020/4/12 19:27
 */
public class Stack06_SlotTest {

    public void localVer() {
        int a = 0;
        System.out.println(a);
        int b = 0;
    }

    public void localVar2() {
        {
            int a = 0;
            System.out.println(a);
        }
        // 此时的 b  就会复用 a 的槽位
        int b = 0;
    }

}
